#ifndef FILEINPORT_H
#define FILEINPORT_H

#include "qstring.h"
#include "qstringlist.h"
class ApplicationSettings;


class FileInport : public QObject
{
   Q_OBJECT
public:
   explicit FileInport( ApplicationSettings & applicationSettings,
                        QObject *parent = 0);

   bool openFile( QString filename );
   static QString open_style_dialog();

public slots:
   void openScriptDialog();
   void openTracksDialog();
//   void openShowDialog();

signals:
   void inportScriptContent( QString filename );
   void inportMediaTracks( QStringList filenames );
   void inportShowFile( QString filename );
   void loadStyle( QString filename );

private:
   QString getFileContents(QString filename);

private:
   ApplicationSettings & m_applicationSettings;
};

#endif // FILEINPORT_H
